import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import be.ipl.finito.usecases.GestionParticipations;
import be.ipl.finito.usecases.GestionParties;

public class Main {

	public static void main(String[] args) {
		try {
		Context jndi = new InitialContext();
		GestionParties gestionParties = (GestionParties) jndi
				.lookup("ejb:FinitoEAR/FinitoEJB/GestionPartiesImpl!be.ipl.finito.usecases.GestionParties");
		GestionParticipations gestionParticipations = (GestionParticipations) jndi
				.lookup("ejb:FinitoEAR/FinitoEJB/GestionParticipationsImpl!be.ipl.finito.usecases.GestionParticipations");
		} catch (NamingException e) {
			e.printStackTrace();
		}
	}

}
